Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag for disabling labels from the output #125

Merged
merged 3 commits into from
Jan 22, 2025
Merged

Conversation

pouwerkerk
Copy link
Contributor

I use runlike a lot for debugging and I sometimes want to get the output without labels, as requested in #112.

This PR simply adds a flag, --no-labels (though I'm not sure if -l is the most intuitive shorthand flag…) which excludes labels from the command output.

test_runlike.py Outdated
@@ -217,3 +217,11 @@ def setUpClass(cls):

def test_no_name(self):
self.dont_expect_substr("--name")

class TestRunlikeNoName(BaseTest):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably meant to call it ...NoLabels, right?

Copy link
Contributor Author

@pouwerkerk pouwerkerk Jan 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! It was a copy+paste error, and I have fixed it now via this amended commit (da0e9cc).

@lavie lavie merged commit 5cd990f into lavie:master Jan 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants